package cn.wolfcode.luowowo.comment.service;


import cn.wolfcode.luowowo.article.domain.AnswerComment;
import cn.wolfcode.luowowo.comment.query.AnswerCommentQuery;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import cn.wolfcoe.luowowo.common.exception.LogicException;
import cn.wolfcoe.luowowo.common.util.AjaxResult;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IAnswerCommentService {

    Page <AnswerComment> query(AnswerCommentQuery qo);


    AjaxResult saveOrUpdate(AnswerComment answer, UserInfo userInfo);

    public void check(AnswerComment answer, UserInfo userInfo) throws LogicException;


}
